<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta name="keywords" content="LightYear,LightYearAdmin,光年,后台模板,后台管理系统,光年HTML模板">
<meta name="description" content="Light Year Admin V5是一个基于Bootstrap v5.1.3的后台管理系统的HTML模板。">
<title>弹出式工具栏 - 光年(Light Year Admin V4)后台管理系统模板</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="stylesheet" type="text/css" href="css/materialdesignicons.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="js/jquery-toolbar/jquery-toolbar.min.css">
<link rel="stylesheet" type="text/css" href="css/style.min.css">
<style>

</style>
</head>
  
<body>
<div class="container-fluid">

  <div class="row">

  	<div class="col-lg-12">
  	  <div class="card">
  	    <header class="card-header">
  	      <div class="card-title">弹出式工具栏 jquery.toolbar</div>
  	    </header>
  		<div class="card-body">
          
  		  <div class="row">
            <div class="col-md-4 col-sm-6 mb-4">
              <p>顶部工具栏</p>
              <div class="btn-jq-toolbar" id="top-toolbar"><i class="mdi mdi-cog"></i></div>
              <hr/>
            </div>
            <div class="col-md-4 col-sm-6 mb-4">
              <p>左侧工具栏</p>
              <div class="btn-jq-toolbar btn-primary" id="left-toolbar"><i class="mdi mdi-cog"></i></div>
              <hr/>
            </div>
            <div class="col-md-4 col-sm-6 mb-4">
              <p>顶部工具栏</p>
              <div class="btn-jq-toolbar btn-danger" id="bottom-toolbar"><i class="mdi mdi-cog"></i></div>
              <hr/>
            </div>
            <div class="col-md-4 col-sm-6 mb-4">
              <p>右侧工具栏</p>
              <div class="btn-jq-toolbar btn-warning" id="right-toolbar"><i class="mdi mdi-cog"></i></div>
              <hr/>
            </div>
            <div class="col-md-4 col-sm-6 mb-4">
              <p>点击显示</p>
              <div class="btn-jq-toolbar btn-info" id="click-toolbar"><i class="mdi mdi-cog"></i></div>
              <hr/>
            </div>
            <div class="col-md-4 col-sm-6 mb-4">
              <p>翻转效果</p>
              <div class="btn-jq-toolbar btn-success" id="flip-toolbar"><i class="mdi mdi-cog"></i></div>
              <hr/>
            </div>
            <div class="col-md-4 col-sm-6 mb-4">
              <p>放大效果</p>
              <div class="btn-jq-toolbar btn-purple" id="grow-toolbar"><i class="mdi mdi-cog"></i></div>
            </div>
            <div class="col-md-4 col-sm-6 mb-4">
              <p>飞入效果</p>
              <div class="btn-jq-toolbar btn-secondary" id="flyin-toolbar"><i class="mdi mdi-cog"></i></div>
            </div>
            <div class="col-md-4 col-sm-6 mb-4">
              <p>弹跳效果</p>
              <div class="btn-jq-toolbar btn-dark" id="bounce-toolbar"><i class="mdi mdi-cog"></i></div>
            </div>
          </div>

          <!--按钮组自己定义，这里使用固定的一个-->
          <div id="toolbar-options" class="d-none">
            <a href="#!"><i class="mdi mdi-pause"></i></a>
            <a href="#!"><i class="mdi mdi-content-cut"></i></a>
            <a href="#!"><i class="mdi mdi-microphone"></i></a>
          </div>
          
  	    </div>
  	  </div>
    </div>

  </div>

</div>

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/popper.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/main.min.js"></script>
<script type="text/javascript" src="js//jquery-toolbar/jquery.toolbar.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
    $('#top-toolbar').toolbar({
        content: '#toolbar-options',
        position: 'top',
        style: 'default'
    });
    $('#left-toolbar').toolbar({
        content: '#toolbar-options',
        position: 'left',
        style: 'primary'
    });
    $('#bottom-toolbar').toolbar({
        content: '#toolbar-options',
        position: 'bottom',
        style: 'danger'
    });
    $('#right-toolbar').toolbar({
        content: '#toolbar-options',
        position: 'right',
        style: 'warning'
    });
    $('#click-toolbar').toolbar({
        content: '#toolbar-options',
        style: 'info',
        event: 'click'
    });
    $('#flip-toolbar').toolbar({
        content: '#toolbar-options',
        style: 'success',
        animation: 'flip',
    });
    $('#grow-toolbar').toolbar({
        content: '#toolbar-options',
        style: 'purple',
        animation: 'grow',
    });
    $('#flyin-toolbar').toolbar({
        content: '#toolbar-options',
        style: 'secondary',
        animation: 'flyin',
    });
    $('#bounce-toolbar').toolbar({
        content: '#toolbar-options',
        style: 'dark',
        animation: 'bounce',
    });
});
</script>
</body>
</html>